<template>
    <view class="bg-white">
        <view class="cu-steps">
            <view class="cu-item" :class="key>(index-1)?'':'text-nddyny'" v-for="(name, key) in names" :key="key">
                <text class="num" :data-index="key + 1"></text> {{name}}
            </view>
        </view>
    </view>
</template>

<script>
    export default {
        props: ['index', 'names'],
        data() {
            return {};
        },
        methods: {},
    }
</script>
